package vmcs.store;

import vmcs.common.Environment;

public abstract class ImplFactory {
	public static ImplFactory getFactoryInstance(String type)
	{
		if(type.equals(Environment.FILETYPE))
		{
			return new FileImplFactory();			
		}
		else if(type.equals(Environment.HARDWARETYPE)){
			return new HardwareImplFactory();
		}
		return null;
	}	
	
	public abstract DataImpl getCashImplementation();
	public abstract DataImpl getDrinkImplementation();
}
